Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |try_to_string

std/conv::|try_to_string


Usage

|try_to_string<T>(value)

Generics

◻ T: TryToString

Parameters

↳ value: T

Return

Option<string>


Try to turn data into string.

This function returns an Option containing value if conversion is successful.